package com.xiaoshuidi.cloud.module.report.convert.ajreport;

import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.report.controller.ajreport.vo.ReportRentPeriodDetailsExportVO;
import com.xiaoshuidi.cloud.module.report.controller.ajreport.vo.ReportRentPeriodDetailsRespVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.ReportRentPeriodDetailsDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 台账报表 转换类
 */
@Mapper
public interface ReportRentPeriodDetailsConvert {

    ReportRentPeriodDetailsConvert INSTANCE = Mappers.getMapper(ReportRentPeriodDetailsConvert.class);

    ReportRentPeriodDetailsRespVO convert(ReportRentPeriodDetailsDO infoDO);



    PageResult<ReportRentPeriodDetailsRespVO> convertPage(PageResult<ReportRentPeriodDetailsDO> page);

    List<ReportRentPeriodDetailsExportVO> convertList(List<ReportRentPeriodDetailsDO> list);

}

